package com.briup.dao;

import com.briup.bean.Customer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CustomerMapper {

	/**
	 * 保存客户
	 *
	 * @param customer 客户
	 */
	void saveCustomer(Customer customer);

	/**
	 * 找到客户名字
	 *
	 * @param name 名字
	 * @return {@link Customer}
	 */
	Customer findCustomerByName(@Param("name") String name);
}
